package com.jztd.servone.invoice.dto;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class ZGZZOrderDTO {
    /**目的地*/
    private String StopName;
    /**可开票金额*/
    private String EInvoiceMoney;
    /**订单状态*/
    private String Status;
    /**出发日期*/
    private String DrvDate;
    /**出发地*/
    private String StartName;
    public OrderDTO getOrderInfo(){
        OrderDTO orderDTO = new OrderDTO();
        orderDTO.setTravelDate(DrvDate);
        orderDTO.setStartPlace(StartName);
        orderDTO.setEndPlace(StopName);
        orderDTO.setInvoiceMoney(new BigDecimal(EInvoiceMoney));
        orderDTO.setTicketName(Status);
        return orderDTO;
    }
}
